﻿using System;
using System.Collections.Generic;

namespace SSTU.Model
{
	public class PeriodicWeekDay
	{
		public PeriodicWeekDay()
		{
		}

		public PeriodicWeekDay(DayOfWeek dayOfWeek, bool isCreateClasses)
		{
			DayOfWeek = dayOfWeek;
			if (isCreateClasses)
			{
				Classes = new List<Class>();
			}
		}

		public List<Class> Classes { get; set; }

		public DayOfWeek DayOfWeek { get; set; }
	}
}
